/**
 *  File: SendSmsService.java
 *  Date         Author      Changes
 *  2016-10-2    wangtq       Create
 *
 */
package com.kunpu.mami.channel.service;

import java.util.Map;

import org.springframework.stereotype.Service;

/**
 * 宝付发送短信接口服务
 * @author wangtq
 * @date 2016-10-2
 * @version 0.1
 *
 */
@Service
public class TestClientService {
	
	private Map<String, TestApi> defaultMap;
	
	public void testService(){
		TestApi api1 = defaultMap.get("111");
		api1.testApi();
		TestApi api2 = defaultMap.get("222");
		api2.testApi();
	}

	public void setDefaultMap(Map<String, TestApi> defaultMap) {
		this.defaultMap = defaultMap;
	}

}
